package com.wx.mybatis.service;

import com.wx.mybatis.dao.UserInfoDao;
import com.wx.mybatis.entity.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName UserInfoService
 * @Author wx
 * @Description 用户信息业务层
 * @Date 2018-12-27-21:44
 */
@Service
public class UserInfoService {
    @Autowired
    private UserInfoDao userInfoDao;

    public void save(UserInfo userInfo){
        userInfoDao.addUserInfo(userInfo);
    }
}
